#!/bin/bash
function TIMER {
 # /usr/bin/time -f %e -a -o $*
 mt $*
}
function JAVAC {
# ../precj2.sh $1
# mv rt.jar $1.rt.jar
 TIMER /opt/blackdown-jdk-1.4.2.03/bin/javac $1 >> timer2.log 
 TIMER /opt/blackdown-jdk-1.4.2.03/bin/javac -bootclasspath $1.rt.jar $1 >> timer3.log 
}
rm -rf timer2.log timer3.log
for f in `find . -name '*.java'`; do
 echo $f
 JAVAC $f
done
